import http from "@/api/index";

export function getActionStatistics(data:Object): Promise<any> {
  return http.request({
    url: `front/data/getActionStatistics`,
    method: "POST",
    data:data
  });
}
export function detection(data:Object): Promise<any> {
  return http.request({
    url: `front/data/detection`,
    method: "POST",
    data:data
  });
}
export function detectionLog(data:Object): Promise<any> {
  return http.request({
    url: `front/data/detectionLog`,
    method: "POST",
    data:data
  });
}
export function exportDetectionLog_(data:Object): Promise<any> {
  return http.request({
    url: `front/data/exportDetectionLog`,
    method: "POST",
    data:data
  });
}
export function getUserList(data:Object): Promise<any> {
  return http.request({
    url: `front/data/getUserList`,
    method: "POST",
    data:data
  });
}
export function getCameraNames(data:Object): Promise<any> {
  return http.request({
    url: `front/data/getCameraNames`,
    method: "POST",
    data:data
  });
}
export function getActions(data:Object): Promise<any> {
  return http.request({
    url: `front/data/getActions`,
    method: "POST",
    data:data
  });
}
export function readDetectionLog(data:Object): Promise<any> {
  return http.request({
    url: `front/data/readDetectionLog`,
    method: "POST",
    data:data
  });
}
